package com.example.demo.service.impl;

import org.springframework.stereotype.Service;

import java.io.IOException;

/**
 * 功能描述：
 *  DefaultDownloadNovel的子类，实现DownloadNovel接口的方法，即调用downloadLogic传入爬取的站点信息，为添加爬虫源站做准备，解耦
 * @Author: Zhanghf
 * @Date: 2021/12/12 11:32
 */
@Service
public class DownloadNovelYunxs extends DefaultDownloadNovel{
    @Override
    public void download(String bookurl) throws IOException {
        downloadLogic(bookurl,"http://www.yunxs.com","Yunxs");
    }
}
